package com.csdj.s3project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zq
 * @since 2022-01-17
 */
public class Picture implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 轮播图id
     */
    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    /**
     * 轮播图名
     */
    private String pictureName;

    /**
     * 轮播图标题
     */
    private String pictureTitle;

    /**
     * 轮播图介绍
     */
    private String pictureIntroduce;

    /**
     * 轮播图路径
     */
    private String pictureUrl;

    /**
     * 图片类型;0是广告;1是首页轮播图片;2是拼图
     */
    private Integer ptype;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }
    public String getPictureName() {
        return pictureName;
    }

    public void setPictureName(String pictureName) {
        this.pictureName = pictureName;
    }
    public String getPictureTitle() {
        return pictureTitle;
    }

    public void setPictureTitle(String pictureTitle) {
        this.pictureTitle = pictureTitle;
    }
    public String getPictureIntroduce() {
        return pictureIntroduce;
    }

    public void setPictureIntroduce(String pictureIntroduce) {
        this.pictureIntroduce = pictureIntroduce;
    }
    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }
    public Integer getPtype() {
        return ptype;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    @Override
    public String toString() {
        return "Picture{" +
            "pid=" + pid +
            ", pictureName=" + pictureName +
            ", pictureTitle=" + pictureTitle +
            ", pictureIntroduce=" + pictureIntroduce +
            ", pictureUrl=" + pictureUrl +
            ", ptype=" + ptype +
        "}";
    }
}
